Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ExportObject to be RELEASED When Already Managed #5014

Merged
merged 4 commits into from
Jan 9, 2024

Conversation

nbauernfeind
Copy link
Member

This fixes #5002.

We intend to allow exports to be RELEASED while an ExportObject is in limbo waiting for other parent dependencies. The original intent was to increment the reference count during setDependencies to guarantee that if it was EXPORTED at that time (or shortly after) that we would be guaranteed to have a valid result until the ExportObject was destroy()'d -- allowing for the external client to RELEASE when convenient and without needing to keep track of these dependencies itself.

Copy link
Member

@devinrsmith devinrsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested, and this does seem to fix #5002 so I'm happy. I'll let others review changes to management semantics.

@nbauernfeind nbauernfeind merged commit 07e22f0 into deephaven:main Jan 9, 2024
19 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working grpc NoDocumentationNeeded ReleaseNotesNeeded Release notes are needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Occassional TableServiceAsyncTest.longChainAsyncExportAllCancelAllButLast failures
3 participants